﻿using System.Collections.Generic;

namespace SocketCore.Network
{
    public class NetworkConfig
    {
        public static int PendingConnection
        {
            get { return 300; }
        }

        public static int DatagramHeaderLength
        {
            get { return 4; }
        }

        public static int EndPointCount
        {
            get { return 4; }
        }

        public static int EncoderType
        {
            get { return 0; }
        }

        public static int DecoderType
        {
            get { return 0; }
        }

        public List<int> Ports
        {
            get;
            private set;
        }

        internal void Config(string p)
        {
            Ports = new List<int>();
            Ports.Add(22110);
        }
    }
}
